import { randomStr } from '@/libs/tools'

// 创建控件公共属性
export const createComponentAttr = data => {
    data.eles.id = randomStr()
    data.eles.customFeature.id = randomStr()
    return data
}